const { serviceXmlParse } = require('./src/ServiceXmlParse')
const fs = require('fs')

const url =
  'https://218.106.119.50:6443/geoscene/rest/services/huashan/test/MapServer/WMTS/1.0.0/WMTSCapabilities.xml'

const type = 'wmts'

serviceXmlParse.parseXmlFromUrl(url, type).then((res) => {
  console.log(res)
})

